package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class PostPurchaseRequest {


    @ApiModelProperty("求购数量")
    @NotNull(message = "请输入求购数量")
    private Integer wantBuyCount;

    @ApiModelProperty("单价")
    @NotNull(message = "请输入求购单价")
    private BigDecimal unitPrice;
}
